home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Belgian Amiga Club - ADF Collection
/
BS1 part 26.zip
/
BS1 part 26
/
mediaphile disk 3.adf
/
ARexx
/
README_AREXX_TOAST
< prev
next >
Wrap
Text File
|
1991-06-07
|
3KB
|
66 lines
ARexx notes for Video Toaster (05/23/91)
The Video Toaster's switcher program may be controlled through MediaPhile
software using the ARexx interface. The ARexx script "toast_uni.rexx"
will take a command line argument and send it to the switcher program.
If the switcher program is not in memory, then the script will attempt to
load it. Note that the script is currently set to find the program in the
"work:toaster" directory.
Commands to the toaster must be entered exactly as they appear in the
manual except that commas must be replaced with spaces. In addition, commands
are CaSe SeNsItIvE. A complete list of commands may be found in Appendix J
of the Video Toaster manual.
An example will help to explain the proper usage of this script. Let's
take the AUTO function. Executing this command has the same effect as
clicking on the AUTO gadget in the switcher program. It executes the currently
selected toaster effect. To perform this function using our ARexx script,
enter the CLI/shell command line:
rx development/toast_uni AUTO
This assumes that you are in the directory "work:toaster," and that
"development" is an active subdirectory.
To execute the same command from within MediaProcessor, you could use the
following EDL command:
!Amiga:Execute(c:rx work:toaster/development/toast_uni AUTO)
This assumes that the ARexx RX program is in the logical "C:" directory and
that the "toast_uni.rexx" script is located in the specified path.
If we wanted to load the frame store image number 001, we could use the
following command line to accomplish this:
rx development/toast_uni FMLD 1
This assumes that there is a framestore image number one and that it is in
the currently active framestore directory. Note that the arguments "FMLD"
and "1" are separated by a space, not a comma.
You may use the TOSW command to enter the switcher program from within
MediaProcessor or from dos. To return to the workbench, either use the
hotkey sequence CTRL-CTRL-ALT-ALT or select "exit" from the switcher
preferences screen.
As with any of the other commands, you may use the "toast_uni.rexx" script
to issue the QUIT command. Doing so has the same effect as the switcher's
"exit" gadget descibed above.
Do not attempt to send an unrecognized command to the switcher using the
"toast_uni.rexx" script as this may have adverse effects upon the system.
NOTES:
If you try to start the switcher from any directory other than the one the
switcher program is located in, the Video Toaster software will respond with
an error message. This may happen if, for example, you were in the directory
"work:toaster/development" and issued the command "/switcher"
The program "ARexxWait" that is referenced in the "toast_uni.rexx" script
is distributed by NewTek with the toaster software. It is used to give the
switcher program time to load before ARexx attempts to address its message
port.